﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Enum
{
    public enum EnumMethod
    {
        /// <summary>
        /// 任务添加成功
        /// </summary>
        [Description("JustAdd")]
        JustAdd = 0,
        /// <summary>
        /// 任务开始
        /// </summary>
        [Description("Start")]
        Start = 1,
        /// <summary>
        /// 小车任务开始
        /// </summary>
        [Description("RgvStart")]
        RgvStart = 2,
        /// <summary>
        /// <summary>
        /// 小车任务失败
        /// </summary>
        [Description("RgvError")]
        RgvError = 3,
        /// <summary>
        /// 小车任务结束
        /// </summary>
        [Description("RgvEnd")]
        RgvEnd = 4,
        /// <summary>
        /// 堆垛机任务开始
        /// </summary>
        [Description("StrckerStart")]
        StackerStart = 5,
        /// <summary>
        /// 堆垛机任务失败
        /// </summary>
        [Description("StrckerError")]
        StackerError = 6,
        /// <summary>
        /// 堆垛机任务结束
        /// </summary>
        [Description("StrckerEnd")]
        StackerEnd = 7,
        /// <summary>
        /// 任务结束
        /// </summary>
        [Description("End")]
        End = 8,
    }

    public enum EmStation
    {
        /// <summary>
        /// 入库申请站台
        /// </summary>
        [Description("入库申请站台")]
        S101 = 101,
        /// <summary>
        /// 散件区入库申请
        /// </summary>
        [Description("散件区入库申请")]
        S103 = 103,
        /// <summary>
        /// 申请出空托盘
        /// </summary>
        [Description("申请出空托盘")]
        S104 = 104,
        /// <summary>
        /// 出库站台1
        /// </summary>
        [Description("出库站台1")]
        S106 = 106,
        /// <summary>
        /// 出库站台2
        /// </summary>
        [Description("出库站台2")]
        S107 = 107,
        /// <summary>
        /// 固定出库终点站
        /// </summary>
        [Description("固定出库终点站")]
        S201 = 201,
        /// <summary>
        /// 剩余物料申请
        /// </summary>
        [Description("剩余物料申请")]
        S205 = 205,
        /// <summary>
        /// 托盘组申请入库
        /// </summary>
        [Description("托盘组申请入库")]
        S207 = 207,

    }

    public enum StationNoticeType
    {
        /// <summary>
        /// 整托入库
        /// </summary>
        [Description("整托入库")]
        S101,
        /// <summary>
        /// 申请出空托盘
        /// </summary>
        [Description("申请出空托盘")]
        S104,
        /// <summary>
        /// 剩余物料回库
        /// </summary>
        [Description("剩余物料回库")]
        S205,
        /// <summary>
        /// 空托盘组申请入库
        /// </summary>
        [Description("空托盘组申请入库")]
        S207,

    }

    public enum EmApiResCode
    {
        [Description("成功")]
        Success = 0,
        [Description("失败")]
        Fail = 1,
        [Description("入参有误")]
        ReqError = 2,
        [Description("异常")]
        GlobalError = 3,
        [Description("本地异常")]
        Error = 4,
    }
}
